package com.irs.service.impl;

import com.irs.mapper.BusinessDemoMapper;
import com.irs.pojo.BusinessDemo;
import com.irs.service.BusinessDemoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BusinessDemoServiceImpl implements BusinessDemoService{

    @Resource
    private BusinessDemoMapper businessDemoDao;

    public int insert(BusinessDemo pojo){
        return businessDemoDao.insert(pojo);
    }

    public int insertList(List< BusinessDemo> pojos){
        return businessDemoDao.insertList(pojos);
    }

    public List<BusinessDemo> select(BusinessDemo pojo){
        return businessDemoDao.select(pojo);
    }

    public int update(BusinessDemo pojo){
        return businessDemoDao.update(pojo);
    }

}
